package cn.liip.demo.domain;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import lombok.Data;
/**
 * 
 * @author Administrator
 * lombok的注解 @Data 注解在类上 提供类所有属性的 getting 和 setting 方法，
 * 	此外还提供了equals、canEqual、hashCode、toString 方法
 */
@Data
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class Artisan implements Serializable{
	private Long id;
	private String name;
	private String sex;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
		
}
